/************************************************************************
 * @file SplashScreen.h
 * @author Ian Chen
 * @version 1.0
 *
 * @section LICENSE
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public License as
 * published by the Free Software Foundation; either version 3 of
 * the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
 * General Public License for more details at
 * http://www.gnu.org/licenses/lgpl.html
 *
 ************************************************************************/
#ifndef SPLASHSCREEN_H
#define SPLASHSCREEN_H

#include <QSplashScreen>

#include <pluginui/pluginui_global.h>
#include <plugin/util/StatusEventListener.h>
using namespace antu::plugin;

namespace antu
{
namespace widget
{
class PLUGINUISHARED_EXPORT SplashScreen : public QSplashScreen, public StatusEventListener
{
    Q_OBJECT

public:
    SplashScreen(QWidget *parent, const QPixmap & pixmap);
    virtual void setStatusText(const QString& text, int progress);
};
}
}

#endif // SPLASHSCREEN_H
